package cn.cyty.midway.base;

import java.util.List;

import com.tuweisoft.tt.potts.pump.criterion.Criterion;
import com.tuweisoft.tt.potts.pump.oo.runtime.PumpObject;

public interface IMidwayDaoService <T extends PumpObject> extends IMidwayService {
	
	public T save(T obj);
	
	public T update(T obj);
	
	public T delete(T obj);
	
	public List<T> fetch(Criterion criterion);
}